package com.bcjzh.producer.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Value("${nacos.config.msg}")
    private String Msg;
    @GetMapping("/")
    public String Index(){
        return "producer:8091---NacosConfig:"+Msg;
    }
}
